﻿using Wips.Domain.Models;

namespace Wips.AppService.Publisher.PublishFlows.Models
{
    /// <summary>
    /// 日志
    /// </summary>
    public class PublishFlowLogModel
    {

        /// <summary>
        /// 主键
        /// </summary>
        public string Id { get; set; } = "";

        /// <summary>
        /// 节点类型
        /// </summary>
        public EnumNodeType NodeType { get; set; }


        /// <summary>
        /// 执行的结果
        /// </summary>
        public string? Result { get; set; } = "";

        /// <summary>
        /// 执行的内容
        /// </summary>
        public string? Context { get; set; } = "";


        /// <summary>
        /// 谁执行的
        /// </summary>
        public string? UserId { get; set; }



        /// <summary>
        /// 主键
        /// </summary>
        public string? Key { get; set; }


        /// <summary>
        /// 创建事件
        /// </summary>
        public DateTime? Created { get; set; }

        /// <summary>
        /// 操作人名称
        /// </summary>
        public string? UserName { get; set; } 
    }
}
